  <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  <%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <base href="<%=basePath%>">
    
    <title>修改报修申请单</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  <link href="css/style.css" rel="stylesheet" type="text/css" />
   <script type="text/javascript" src="<%=path%>/js/jquery-1.9.1.min.js"></script>
  <script type="text/javascript" src="<%=path%>/js/layer/layer.js"></script>
  <script type="text/javascript" src="<%=path%>/js/dialog/dialog.js"></script>
 
   <script type="text/javascript" src="<%=path%>/js/My97DatePicker/WdatePicker.js"></script>
  <script type="text/javascript">
	function openFirstLayer(){

                layer.open({
                  type: 2,
                  title: ['实验室信息','background-color:rgb(40, 144, 241);padding-left:5px;color:#fff'],
                  fix: false, //不固定
                  closeBtn: 1, //显示关闭按钮
                  shade: [0.3],
                  area: ['90%', '90%'],
                  offset: '10px', //右下角弹出,
                  
                  //anim: 4,
                  content: ['<%=basePath%>admin/findlaboraryid.action', 'yes'] 
                });
            }       
            
  </script>
  </head>
  
  <body>
  
    	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
   <li><a href="#">报修申请单</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    <div class="formtitle"><span>报修申请单</span></div>
    <form action="<%=basePath%>admin/updateRepairs.action" method="post" id="myform">
    <ul class="forminfo">
    <li><label>报修部门</label><input name="repairs.dapartments" type="text" class="dfinput" value="${repairs.dapartments}"/></li>
    <li><label>设备名称</label>
    <!-- <input name="repairs.labid" id="labid" type="hidden" class="dfinput" /> -->
    <input name="repairs.name" type="text" class="dfinput" value="${repairs.name}"/>
    <input type="button" class="cancel" onclick="openFirstLayer()" value="选择"/>
    </li>
    <li><label>设备编号</label><input name="repairs.equipmentid" type="text" class="dfinput" value="${repairs.equipmentid}"/></li>
    <li><label>设备类别</label><input name="type" type="text" class="dfinput" /></li>
    <li><label>所属实验室</label>
    <!-- <input name="repairs.labid" id="labid" type="hidden" class="dfinput" /> -->
    <input name="repairs.labid"  id="labname" type="text" class="dfinput" value="${repairs.labid}"/>
    <input type="button" class="cancel" onclick="openFirstLayer()" value="选择"/>
    <li><label>报修人</label><input name="repairs.repairsname" type="text" class="dfinput"  value="${repairs.repairsname}" /></li>
    <li><label>型号</label><input name="repairs.types" type="text" class="dfinput" value="${repairs.types}"/></li>
    <li><label>故障说明</label><textarea name="repairs.explains" cols="" rows="" class="textinput"> ${repairs.explains}</textarea></li>
    <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认保存"/> <input type="button" name="button" value="返回" class="btn" onclick="javascript:window.history.back(-1);"/></li>
    </ul>
    
    </form>
    </div>

    
  </body>
</html>
